import request from "@/utils/request";

//注册请求
export const register = function (data) {
return  request.post('/user/registered',data)
}

//登入请求
export const login = function (data) {
  return  request.post('/user/login',data)
  }